package com.tz.colawallet.ui.activity;

import android.content.Context;

import com.tz.colawallet.basecode.base.BaseActivity;
import com.tz.colawallet.ui.biz.ABiz;
import com.tz.colawallet.ui.component.DaggerAComponent;
import com.tz.colawallet.ui.component.DaggerMainComponent;
import com.tz.colawallet.ui.contract.AContract;
import com.tz.colawallet.ui.module.AModule;
import com.tz.colawallet.ui.module.MainModule;
import com.tz.colawallet.ui.presenter.APresenter;

import javax.inject.Inject;

public class AActivity extends BaseActivity implements AContract.View {

    @Inject
    APresenter presenter;
    @Inject
    ABiz biz;

    @Override
    protected void setup() {
        super.setup();
        DaggerAComponent.builder().aModule(new AModule(this)).build().inject(this);
        presenter.setBiz(biz);
    }

    @Override
    protected int getLayoutResId() {
        return 0;
    }

    @Override
    protected void init() {

    }

    @Override
    protected void initTitle() {

    }

    @Override
    public Context curContext() {
        return this;
    }
}
